package org.jeecg.modules.service.impl;

import org.jeecg.common.api.diy.ProfessorApi;
import org.jeecg.modules.mapper.DiyProfessorInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ZhangHaoyu
 * @description
 * @date 2020/8/3 15:37
 */
@Service
public class ProfessorApiServiceImpl implements ProfessorApi {

    @Autowired
    private DiyProfessorInfoMapper diyProfessorInfoMapper;
    @Override
    public String queryMajorIdByName(String name) {

        return diyProfessorInfoMapper.selectMajorIdByName(name);
    }
}
